package com.ym.soso.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.soso.enums.PublishStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


@Data
@ApiModel(value = "健康科普发布")
public class AppHealthPlatePublishParam {

	@ApiModelProperty("发布的ID")
	@NotNull
	private Long[] ids;

	@ApiModelProperty("发布状态-PublishStatusEnum")
	@NotEmpty
	@CustomConstraint(PublishStatusEnum.class)
	private String state;
}
